package com.ruoyi.community.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 社区对象 sys_community
 * 
 * @author 韩宁
 * @date 2021-08-01
 */
public class SysCommunity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer communityId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String name;

    /** 社区的创建者id */
    @Excel(name = "社区的创建者id")
    private Long userId;

    /** 社区的创建者id */
    @Excel(name = "社区的创建者姓名")
    private String userName;

    /** 占地面积 */
    @Excel(name = "占地面积")
    private Long floorSpace;

    /** 建筑面积 */
    @Excel(name = "建筑面积")
    private Long coveredArea;

    /** 开发商 */
    @Excel(name = "开发商")
    private String developers;

    /** 物业公司 */
    @Excel(name = "物业公司")
    private String propertyCompany;

    /** 省 */
    @Excel(name = "省")
    private String province;

    /** 市 */
    @Excel(name = "市")
    private String city;

    /** 县、区 */
    @Excel(name = "县、区")
    private String area;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String addr;

    /** 删除标志（0代表存在 2代表删除） */
    private Integer delFlag;

    public void setCommunityId(Integer communityId)
    {
        this.communityId = communityId;
    }

    public Integer getCommunityId()
    {
        return communityId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setFloorSpace(Long floorSpace) 
    {
        this.floorSpace = floorSpace;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getFloorSpace() 
    {
        return floorSpace;
    }
    public void setCoveredArea(Long coveredArea) 
    {
        this.coveredArea = coveredArea;
    }

    public Long getCoveredArea() 
    {
        return coveredArea;
    }
    public void setDevelopers(String developers) 
    {
        this.developers = developers;
    }

    public String getDevelopers() 
    {
        return developers;
    }
    public void setPropertyCompany(String propertyCompany) 
    {
        this.propertyCompany = propertyCompany;
    }

    public String getPropertyCompany() 
    {
        return propertyCompany;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }
    public void setAddr(String addr) 
    {
        this.addr = addr;
    }

    public String getAddr() 
    {
        return addr;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getCommunityId())
            .append("name", getName())
            .append("userId", getUserId())
            .append("floorSpace", getFloorSpace())
            .append("coveredArea", getCoveredArea())
            .append("developers", getDevelopers())
            .append("propertyCompany", getPropertyCompany())
            .append("createTime", getCreateTime())
            .append("province", getProvince())
            .append("city", getCity())
            .append("area", getArea())
            .append("addr", getAddr())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
